package york.Game.Unit;

import java.util.Vector;

import york.Game.ChangeContainer;

public class SmartUnitGroup extends SmartUnit {
	private Vector<SmartUnit> Members = new Vector<SmartUnit>();
	
	public SmartUnitGroup() {
	}
	
	public void UpdateAllMembers(double dt) {
		for(int i = getMembers().size();i > 0;i--) {
			//Update all members
			//Members.get(i);
		}
	}
	
	public boolean AddMember(SmartUnit a_ToAdd) {
		//TODO Adding
		return false;
	}
	
	public boolean RemoveMember(SmartUnit a_ToRemove) {
		//TODO Removing
		return false;
	}

	public int getMemberSize() {
		// TODO Auto-generated method stub
		return 0;
	}

	public SmartUnit getMember(int a_index) {
		return getMembers().get(a_index);
	}

	public Vector<ChangeContainer> GetStrays() {
		// TODO Auto-generated method stub
		//Returns all members that are being ejected from the group
		return null;
	}

	public Vector<SmartUnit> getMembers() {
		return Members;
	}

	public void setMembers(Vector<SmartUnit> members) {
		Members = members;
	}
}
